
{include file='common/header'}

<div class="container">
    <div class="row">
        <div class="col-md-9 col-sm-12 hy-main-content">
            <div class="hy-video-details clearfix">
                <div class="item clearfix">
                    <dl class="content">
                        <dt><a class="videopic" href="{:url('/play',['movie_id'=>$info['id']])}" title="{$info.title}"
                               style="background: url({$info.poster})  no-repeat; background-position:50% 50%; background-size: cover;"><span
                                class="play hidden-xs"></span><span class="note textbg">{$info.resolution}</span></a></dt>
                        <dd class="clearfix">
                            <div class="head"><span class="hide hit text-color pull-right">人气：<span
                                    id="hit">加载中...</span><script>getVideoHit('63843')</script></span>
                                <h3>{$info.title}</h3></div>
                            <div class="score" style="height:25px;">
                                <span id="STAR1564912798102" style="padding:5px">
                                  <span id="seacmsvpf1" style="display: inline;">
                                      {php}$grade = round($info['grade']);{/php}

                                      {for start='0' end='$grade' name='v'}
                                    <img iid="1" src="/index/images/star0.gif" >
                                      {/for}

                                      {for start='0' end='10-$grade' name='v'}
                                    <img iid="2" src="/index/images/star1.gif" >
                                      {/for}

                                  </span>

                                  <strong style="font-size:14px;color:red" id="MARK_B2">{$info.grade}</strong>
                                </span>
                                <!--<script type="text/javascript">markVideo(63843, 0, 0, 0, 10, 1);-->
                                <!--markVideo2(63843, 1, 10);</script>-->
                                <!--<script type="text/javascript">-->
                                    <!--var str = "7.6%"-->
                                    <!--document.getElementById("score").style.width = (str.replace(".", ""))-->
                                <!--</script>-->
                            </div>
                            <ul>

                                <li><span class="text-muted">主演：</span><span>{$info.actors}</span></li>
                                <li><span class="text-muted">导演：</span><span>{$info.directors}</span></li>
                                <li class="col-md-6 col-sm-6 hidden-xs padding-0"><span class="text-muted">地区：</span>{$info.region_name}
                                </li>
                                <li class="col-md-6 col-sm-6 hidden-xs padding-0"><span class="text-muted">类型：</span><a
                                        href="/search.php?searchtype=5&tid=12" title="{$info.type_name}片">{$info.type_name}片</a></li>
                                <li class="col-md-6 hidden-sm hidden-xs padding-0"><span class="text-muted">语言：</span>{$info.language}
                                </li>
                                <li class="col-md-6 hidden-sm hidden-xs padding-0"><span class="text-muted">年份：</span>{$info.movie_time|date='Y'}
                                </li>
                                <li class="hidden-sm hidden-xs padding-0"><span class="text-muted">剧情：</span>
                                    {$info.content}
                                </li>
                            </ul>
                            <div class="playlink "><a class="btn btn-warning" href="{:url('/play',['movie_id'=>$info['id']])}"
                                                                                   title="立即播放"><i
                                    class="icon iconfont icon-play"></i> 立即播放</a></div>
                        </dd>
                    </dl>
                </div>
            </div>
            <!--<div class="hy-layout active clearfix">-->
                <!--<div class="hy-switch-tabs">-->
                    <!--<ul class="nav nav-tabs">-->
                        <!--<li class="active"><a href="#list1" data-toggle="tab" title="播放线路">播放线路</a></li>-->
                        <!--<li class="visible-sm visible-xs"><a href="#list3" data-toggle="tab" title="剧情介绍">剧情介绍</a></li>-->
                        <!--<li><a href="https://www.axjbt.com/app-index-run?app=search&keywords=银河补习班"-->
                               <!--target="_blank">下载观看</a></li>-->
                        <!--<li><a rel="nofollow" style="color:#ff0000" href="/app/app.html" target="_blank">APP下载</a></li>-->
                    <!--</ul>-->
                <!--</div>-->
                <!--<div class="tab-content">-->
                    <!--<div class="hy-play-list tab-pane fade in active" id="list1">-->
                        <!--<div class="item tyui" id="playlist">-->
                            <!--<div class="panel clearfix"><a class="option" data-toggle="collapse" data-parent="#playlist"-->
                                                           <!--href="#playlist1" title="播放线路①">播放线路① <span-->
                                    <!--class="text-muted pull-right"> <i class="icon iconfont icon-right"></i></span></a>-->
                                <!--<div id="playlist1" class="playlist collapse in">-->
                                    <!--<ul class="playlistlink-1 list-15256 clearfix">-->
                                        <!--<li><a title='HDTC清晰版' href='/video/?63843-0-0.html' target="_self">HDTC清晰版</a>-->
                                        <!--</li>-->
                                    <!--</ul>-->
                                <!--</div>-->
                            <!--</div>-->


                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="hy-play-list tab-pane fade in" id="list3">-->
                        <!--<div class="item">-->
                            <!--<div class="plot">-->
                                <!--浩瀚太空，航天员意外失联，生命最大的绝境中，他回忆起自己那个最了不起的爸爸。一对父子跨越漫长的时光，守护爱和亲情，故事充满了欢乐、温暖、泪水与奇观。-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>&lt;!&ndash;相关&ndash;&gt;-->
            <div class="hy-layout clearfix">
                <div class="hy-video-list">
                    <div class="hy-video-head"><a class="text-muted pull-right" href="{:url('/movie')}?movie_type={$info['movie_type']}" title="更多">更多 <i class="icon iconfont icon-right"></i></a>
                        <h3 class="margin-0">相关热播</h3></div>
                    <div class="swiper-container hy-switch">
                        <div class="swiper-wrapper">
                            {foreach $movies as $v}
                            <div class="swiper-slide">
                                <div class="item"><a class="videopic lazy" href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}"
                                                     data-original="{$v.poster}"
                                                     style="background: url(/templets/default/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover;"><span
                                        class="play hidden-xs"></span><span class="score">{$v.grade}</span><span
                                        class="note textbg">{$v.resolution}</span></a>
                                    <div class="title"><h5 class="text-overflow"><a href="{:url('/details',['movie_id'=>$v['id']])}"
                                                                                    title="{$v.title}">{$v.title}</a></h5></div>
                                    <div class="subtitle text-muted text-muted text-overflow hidden-xs">
                                        {$v.actors}
                                    </div>
                                </div>
                            </div>
                            {/foreach}

                        </div>
                        <div class="swiper-button-next"><i class="icon iconfont icon-right"></i></div>
                        <div class="swiper-button-prev"><i class="icon iconfont icon-back"></i></div>
                    </div>
                    <div class="hy-video-text-list hidden-xs clearfix">
                        <div class="item">
                            <ul class="clearfix">

                                {foreach $movies2 as $v}
                                <li class="list5 ">
                                    <div class="title text-overflow"><a href="{:url('/details',['movie_id'=>$v['id']])}" title=" {$v.title}"><span
                                            class="pull-right"><i
                                            class="icon iconfont icon-right text-muted"></i></span> {$v.title}</a></div>
                                </li>
                                {/foreach}


                            </ul>
                        </div>
                    </div>
                </div>
            </div><!--end 相关--></div>
        <div class="col-md-3 col-sm-12 hy-main-side hidden-sm hidden-xs">
            <div class="hy-layout clearfix">
                <div class="hy-video-ranking side clearfix">
                    <div class="head"><a class="text-muted pull-right" href="{:url('/movie')}?movie_type={$info['movie_type']}&rank=hot" title="更多">更多 <i
                            class="icon iconfont icon-right"></i></a><h4><i
                            class="icon iconfont icon-top text-color"></i> {$info.type_name}片排行榜</h4></div>
                    <div class="item">
                        <ul class="clearfix">
                            {foreach $tops as $k=>$v}
                            <li class="text-overflow "><span
                                    class="pull-right text-color">{$v.grade}</span><a
                                    href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}"><em class="number {if $k<3}active{/if}">{$k+1}</em>{$v.title}</a>
                            </li>

                            {/foreach}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script>
    var swiper = new Swiper('.hy-slide', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        autoplay: 3000,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
    });
    var swiper = new Swiper('.hy-switch', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        slidesPerView: 5,
        spaceBetween: 0,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        breakpoints: {
            1200: {
                slidesPerView: 4,
                spaceBetween: 0
            },
            767: {
                slidesPerView: 3,
                spaceBetween: 0
            }
        }
    });
</script>

{include file='common/foot'}